<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>


    <style>  
        body {  
            background-color: #f0f0e0; /* 淡黄色背景 */  
            font-family: Arial, sans-serif;  
            margin: 0;  
            padding: 20px;  
        }  
  
        container {  
            background-color: #fff;  
            padding: 20px;  
            border-radius: 5px;  
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);  
        }  
  
        h1 {  
            color: #88540b; /* 棕色标题 */  
            text-align: center;  
        }  
  
        input[type=text], input[type=datetime-local], input[type=submit] {  
            width: 100%;  
            padding: 12px 20px;  
            margin: 8px 0;  
            display: inline-block;  
            border: 1px solid #ccc;  
            border-radius: 4px;  
            box-sizing: border-box;  
        }  
  
        input[type=submit] {  
            background-color: #4CAF50; /* 绿色提交按钮 */  
            color: white;  
            border: none;  
            cursor: pointer;  
        }  
  
        input[type=submit]:hover {  
            background-color: #45a049;  
        }  
    </style>  
<body> 
<div class="container">  
    <h1>Hotel Reservation</h1>  
    <form action="save1.jsp"method="post">
     <label for="userid">userid:</label>
     <input type="text" id="userid" name="userid" required><br><br>
     <label for="name">name:</label>
     <input type="text" id="uname" name="name" required><br><br>
     <label for="phone">phone:</label>
     <input type="text" id="phone" name="phone" required><br><br>
     <label for="roomType">roomType:</label>
     <select id="roomType" value="1">
             <option value="1">单人间</option>
             <option value="2">双人间</option>
             <option value="3">大床房</option>
             <option value="4">钟点房</option>
         </select>  
         <br><br>
     <label for="indate">indate:</label>
     <input type="datetime-local" id="indate" name="indate" required><br> <br> 
     <label for="outdate">outdate:</label>
     <input type="datetime-local" id="outdate" name="outdate" required><br><br>
     <label for="amount">amount:</label>
     <input type="text" id="amount" name="amount" required><br><br>
    
     
     <input type="submit" name="btn" value="提交" ><br><br>
</form>


</div>  
</body>
</html>